package com.dayatang.ibank.application;

import java.math.BigDecimal;
import java.util.List;

import com.dayatang.ibank.domain.Account;

public interface BankApplication {
	void deposit(Account account, BigDecimal amount);
	void withdraw(Account account, BigDecimal amount);
	void transfer(Account fromAccount, Account toAccount, BigDecimal amount);
	void createAccount(Account account);
	void disableAccount(Account account);
	void enableAccount(Account account);
	Account getAccount(Long id);
	Account getAccountBySerialNumber(String serialNumber);
	List<Account> listAccounts();
}
